package com.example.pojo;

public class Teacher {
    private String teacherId;
    private String teacherName;
    private String college;
    private String office;
    private String phone;

    @Override
    public String toString() {
        return "Teacher{" +
                "teacherId='" + teacherId + '\'' +
                ", teacherName='" + teacherName + '\'' +
                ", college='" + college + '\'' +
                ", office='" + office + '\'' +
                ", phone='" + phone + '\'' +
                ", job='" + job + '\'' +
                ", age=" + age +
                ", password='" + password + '\'' +
                '}';
    }

    private String job;
    private Integer age;

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    private String password;

    public Teacher() {
    }

    public Teacher(String teacherId, String teacherName, String college, String office, String phone, String job, Integer age) {
        this.teacherId = teacherId;
        this.teacherName = teacherName;
        this.college = college;
        this.office = office;
        this.phone = phone;
        this.job = job;
        this.age = age;
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    public String getOffice() {
        return office;
    }

    public void setOffice(String office) {
        this.office = office;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
